

/* 累加计算 */
function tireAdd(caseOne, caseTwo, caseIndex = ''){

	for(var i=0; i<caseOne.length; i++){

		tireAddOne(caseOne, caseTwo, caseIndex);
	}
}

function tireAddOne(caseOne, caseTwo, caseIndex = ''){

	for(var i=0;i<caseTwo.length;i++){

		caseOne[i].classList.remove("active");
		caseTwo[i].classList.remove("active");
	}
	caseOne[caseIndex].classList.add("active");
	caseTwo[caseIndex].classList.add("active");
}